import sys
from PyQt4.QtGui import QApplication
import $appname.lower

${appname.upper}_VERSION = "$appversion"

app = QApplication(sys.argv)
app.setOrganizationName("$orgname")
app.setApplicationName("$appname")
app.setApplicationVersion(${appname.upper}_VERSION)
w = ${appname.lower}.${winclass}()
w.show()
app.exec_()